package com.syp.envops.util.sftp;

import com.syp.envops.domain.pojo.ServerSchema;

public class SftpConfiguration {

	private Integer serverId;
	private String host;
	private Integer port;
	private String username;
	private String password;
	private String rootdir;

	public SftpConfiguration() {
	}

	public SftpConfiguration(ServerSchema ss) {
		this.serverId = ss.getId();
		this.host = ss.getHost();
		this.port = ss.getPort();
		this.username = ss.getUsername();
		this.password = ss.getPassword();
		this.rootdir = ss.getRootdir();
	}

	public Integer getServerId() {
		return serverId;
	}

	public void setServerId(Integer serverId) {
		this.serverId = serverId;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRootdir() {
		return rootdir;
	}

	public void setRootdir(String rootdir) {
		this.rootdir = rootdir;
	}

}
